Fix node ownership when display: contents is used (#56422)#56422
Closed
j-piasecki wants to merge 1 commit into
Closed
Fix node ownership when display: contents is used (#56422)#56422j-piasecki wants to merge 1 commit into
display: contents is used (#56422)#56422j-piasecki wants to merge 1 commit into
Conversation
|
@j-piasecki has exported this pull request. If you are a Meta employee, you can view the originating Diff in D100581579. |
display: contents is useddisplay: contents is used (#56422)
cc5b1dc to
a65842e
Compare
Summary: Changelog: [GENERAL][FIXED] Fixed Yoga node ownership when `display: contents` is used in absolutely positioned subtrees Fixes an edge case where nodes with `display: contents` weren't cloned properly inside absolutely positioned subtrees. Adds a test case covering this scenario. X-link: react/yoga#1924 Reviewed By: NickGerleman Differential Revision: D100581579 Pulled By: j-piasecki
a65842e to
0a6a92f
Compare
j-piasecki
added a commit
to j-piasecki/yoga
that referenced
this pull request
Apr 21, 2026
Summary: X-link: react/react-native#56422 Changelog: [GENERAL][FIXED] Fixed Yoga node ownership when `display: contents` is used in absolutely positioned subtrees Fixes an edge case where nodes with `display: contents` weren't cloned properly inside absolutely positioned subtrees. Adds a test case covering this scenario. Reviewed By: NickGerleman Differential Revision: D100581579 Pulled By: j-piasecki
meta-codesync Bot
pushed a commit
to react/yoga
that referenced
this pull request
Apr 21, 2026
Summary: X-link: react/react-native#56422 Changelog: [GENERAL][FIXED] Fixed Yoga node ownership when `display: contents` is used in absolutely positioned subtrees Fixes an edge case where nodes with `display: contents` weren't cloned properly inside absolutely positioned subtrees. Adds a test case covering this scenario. Pull Request resolved: #1924 Reviewed By: NickGerleman Differential Revision: D100581579 Pulled By: j-piasecki fbshipit-source-id: e05e9a4076bd11a71be438ef910a262044659a9b
Collaborator
|
This pull request was successfully merged by @j-piasecki in f2f9209 When will my fix make it into a release? | How to file a pick request? |
|
@j-piasecki merged this pull request in f2f9209. |
This was referenced Jun 9, 2026
This was referenced Jun 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
Changelog: [GENERAL][FIXED] Fixed Yoga node ownership when
display: contentsis used in absolutely positioned subtreesFixes an edge case where nodes with
display: contentsweren't cloned properly inside absolutely positioned subtrees.Adds a test case covering this scenario.
X-link: react/yoga#1924
Reviewed By: NickGerleman
Differential Revision: D100581579
Pulled By: j-piasecki